package org.mathig.poker.hand;

import java.util.List;

import org.mathig.poker.Card;
import org.mathig.poker.PokerRank;

/**
 * Three of a kind.<br>
 * May be called a Set (pocket pair + 1 from board) or a Trip (1 from hand + 2 on board).
 * 
 * @author mathig
 */
public class ThreeOfAKind extends ManyOfAKind {

	public ThreeOfAKind(List<Card> threeCards, List<Card> kickers) {
		super(threeCards, kickers);
	}

	public PokerRank getPokerRank() {
		return PokerRank.THREE;
	}

	@Override
	public String toString() {
		//TODO diff between set or trip
		return "three " + getRank();
	}

}
